Skip to content

Conversation

@smelnych
Copy link
Contributor

Add custom_supported_browsers to update_passport_config() in admin.py

Update update_passport_config method with custom_supported_browsers as a criteria that determines whether a Windows or macOS browsers should be supported by Passport

Description

add custom_supported_browsers as new criteria for update of the current Passport configuration

Motivation and Context

duo_client_python was modified with custom_supported_browsers in https://github.com/cisco-sbg/ZT-trustedpath/pull/23553, so there is a need to have same changes in https://github.com/duosecurity/duo_client_python

How Has This Been Tested?

add test case for custom_supported_browsers in existing test_update_passport test in test_passport.py

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Copy link
Contributor

@AaronAtDuo AaronAtDuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move away from empty lists as parameter defaults

@smelnych smelnych requested a review from AaronAtDuo March 3, 2025 10:32
Copy link
Contributor

@AaronAtDuo AaronAtDuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more change please

@smelnych smelnych requested a review from AaronAtDuo March 3, 2025 15:13
@smelnych smelnych closed this Mar 3, 2025
@smelnych smelnych reopened this Mar 3, 2025
@AaronAtDuo AaronAtDuo merged commit a93d0fd into duosecurity:master Mar 3, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants